package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffCartTargetObjWeightAndTargetValueEtcDto
 * @使用场景
 */
@Data
public class BffCartTargetObjWeightAndTargetValueEtcDto
  implements Serializable {

  /**
   * 被评对象目标周期ID
   */
  @ApiModelProperty("被评对象目标周期ID")
  private String evaObjTargetCycleId;

  /**
   * 周期名称
   */
  @ApiModelProperty("周期名称")
  private String cycleStandardName;

  /**
   * 权重
   */
  @ApiModelProperty("权重")
  private Double weightValue;

  /**
   * 权重分值
   */
  @ApiModelProperty("权重分值")
  private Double weightScore;

  /**
   * 目标值
   */
  @ApiModelProperty("目标值")
  private Double targetValue;

/**
     * 起始值
     */
    @ApiModelProperty("起始值")
    private Double	 targetStartValue;

    /**
     * 诊断值
     */
    @ApiModelProperty("诊断值")
    private Double	 targetDiagnosticValue;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffCartTargetObjWeightAndTargetValueEtcDto that = (BffCartTargetObjWeightAndTargetValueEtcDto) o;
      return  evaObjTargetCycleId == that.evaObjTargetCycleId&&cycleStandardName == that.cycleStandardName&&weightValue == that.weightValue&&weightScore == that.weightScore&&targetValue == that.targetValue&&targetStartValue == that.targetStartValue&&targetDiagnosticValue == that.targetDiagnosticValue;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), evaObjTargetCycleId,cycleStandardName,weightValue,weightScore,targetValue,targetStartValue,targetDiagnosticValue);
    }

}
